﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WXBot.WXObject
{
    /// <summary>
    /// 本地保存的微信消息记录实体
    /// </summary>
    public class WXMsg
    {
        /// <summary>
        /// 消息发送者，群或者用户
        /// </summary>
        public string From
        {
            get;
            set;
        }
        /// <summary>
        /// 如果是群，此处为群中用户名
        /// </summary>
        public string From2
        {
            get;
            set;
        }

        /// <summary>
        /// 消息发送时间
        /// </summary>
        public DateTime Time
        {
            get;
            set;
        }
        /// <summary>
        /// 消息内容
        /// </summary>
        public string Msg
        {
            get;
            set;
        }
        /// <summary>
        /// 某些连接地址
        /// </summary>
        public string Url
        {
            get;
            set;
        }
        /// <summary>
        /// 消息类型
        /// </summary>
        public long Type
        {
            get;
            set;
        }
    }
}
